package com.nanfang51g3.ckz.domain;

/**
 * Created by Administrator on 2016/4/28.
 */
public class HttpResultBeans<T> {
    public int currPage;
    public int error;
    public int totalCount;
    public String msg;
    //用来模仿Data
    public T list;

    public int getCurrPage() {
        return currPage;
    }

    public void setCurrPage(int currPage) {
        this.currPage = currPage;
    }

    public int getError() {
        return error;
    }

    public void setError(int error) {
        this.error = error;
    }

    public int getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(int totalCount) {
        this.totalCount = totalCount;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public T getList() {
        return list;
    }

    public void setList(T list) {
        this.list = list;
    }

    @Override
    public String toString() {
        return "HttpResultBeans{" +
                "currPage=" + currPage +
                ", error=" + error +
                ", totalCount=" + totalCount +
                ", msg='" + msg + '\'' +
                ", list=" + list +
                '}';
    }
}
